package cloud.kiko.psn.card.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface CardMapper {
    @Update("update tb_card set amount = amount + (#{opAmount}) where user_id = #{userId}")
    boolean update(Long userId,Double opAmount);
}
